<#assign entitySchema=info.entitySchema>
import org.mybatis.spring.annotation.MapperScan;
import java.util.List;

@MapperScan
public Interface ${info.entityName}Mapper {
	
	Integer insert(${info.entityName} ${info.variableName});
	
	Integer update(${info.entityName} ${info.variableName});
	
	${info.entityName} selectInfoById(<#list entitySchema.propertys as property><#if property.prikey?? && property.prikey=="PRI">${property.propertyType} ${property.propertyName}</#if></#list>);
	
	List<${info.entityName}> selectPageByQuery(${info.entityName}Query query);
	
	Integer countPageByQuery(${info.entityName}Query query);
	
	${info.entityName} selectInfoByQuery(${info.entityName}Query query);
	
	Integer delete(${info.entityName} ${info.variableName});
}